<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">




    <div class="form-group">
        <label for="atitle" class="control-label col-xs-12 col-sm-2">{:__('atitle')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="atitle" data-rule="required" class="form-control" name="row[atitle]" type="text"  value="{$row.atitle|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">选择城市:</label>
        <div class="col-xs-12 col-sm-8">

            <select id="city" data-rule="required" class="form-control" name="row[cityid]" ids = "{$row.cityid|htmlentities}">
                <option value="">请选择</option>
                {foreach name="city" item="vo"}
                <option value="{$vo.areaId}">{$vo.areaName}</option>
                {/foreach}
            </select>
        </div>
    </div>

    <div class="form-group" id="shiid">
        <label class="control-label col-xs-12 col-sm-2">选择市级:</label>
        <div class="col-xs-12 col-sm-8">

            <select id="h_areadid" data-rule="required" class="form-control" name="row[citydid]" ids="{$row.citydid|htmlentities}">
            </select>
        </div>
    </div>



    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[status]', ['normal'=>__('Normal'), 'hidden'=>__('Hidden')], $row['status'])}
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
